Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ Workshop-details]- display Working hours #1088 #1098

Merged
merged 20 commits into from
Apr 28, 2022

Conversation

Olya-web7
Copy link
Contributor

[ Workshop-details]- display Working hours #1088

<h5>Дні/Години</h5>

<div *ngFor="let timeRange of workshop.dateTimeRanges">
<div fxLayout='row' fxLayoutAlign='start center' fxLayoutGap='1rem'
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Use double quotes please
"row"

<div *ngFor="let day of days" class="toggle" fxLayout='row'
fxLayoutAlign='center center'
[ngClass]="timeRange.workdays.includes(workingDaysReverse[day.value] | titlecase)
? 'toggle-selected' : ''"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ngClass= {'toggle-selexted': true/false logic}

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thnx, fixed it)

@Olya-web7 Olya-web7 merged commit 7c4c9cb into develop Apr 28, 2022
@Olya-web7 Olya-web7 deleted the workshop-working-hours branch April 28, 2022 09:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants